<local:DocumentBase x:Class="WPFExcelReport.ITXAV95"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core"
                    xmlns:db="clr-namespace:INTEX.DataBase"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
                    xmlns:sc="clr-namespace:INTEX.DataBase.Tools;assembly=ITXSCHEDULER"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"                    
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"  
                     xmlns:me="clr-namespace:WPFExcelReport"
                    FontSize="12"
                    Loaded="Window_Loaded"
>
    <local:DocumentBase.Resources>
        <ucd:TextTrimmingConverter x:Key="Trim"></ucd:TextTrimmingConverter>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:String2ColorConverter  x:Key="str2color"/>
        <CollectionViewSource   x:Key="vwABAX" Source="{Binding Path=SetData.ICC_ABAX}" />
        <CollectionViewSource   x:Key="vwVKPOS" Source="{Binding Path=SetData.VKPOS}" />
        <CollectionViewSource   x:Key="vwVKKOPF" Source="{Binding Path=SetData.VKKOPF}" />
        <CollectionViewSource  x:Key="vwABPOS" Source="{Binding Path=SetProd.ABPOS}" />
        <CollectionViewSource  x:Key="vwMU" Source="{Binding Path=SetProd.ICC_ABAX}" />
        <CollectionViewSource  x:Key="vwGAAUF" Source="{Binding Path=SetProd.GAAUF}" />
        <CollectionViewSource  x:Key="vwAPKOPF" Source="{Binding Path=SetEnv.APKOPF}" />
        <CollectionViewSource  x:Key="vwAPZUORD" Source="{Binding Path=SetData.APZUORD}" />
        <CollectionViewSource   x:Key="vwTABAX" Source="{Binding Path=SetProd.ICC_ABAX}" />
        <CollectionViewSource  x:Key="vwTGAAUF" Source="{Binding Path=SetProd.GAAUF}" />
    </local:DocumentBase.Resources> 
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition   Height="Auto" />
            <RowDefinition   Height="1*" />
            <RowDefinition   Height="2*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition  Width="1*" />
            <ColumnDefinition Width="1*" />
        </Grid.ColumnDefinitions>
        <Expander Visibility="Collapsed" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Name="expLog" ExpandDirection="Down" IsExpanded="True" Margin="0,0,0,0">
            <WrapPanel Name="zoneCommand" Margin="0,0,0,0"  >
                <Label Content="{Binding Source={Localization:TranslateExtension Word=系统}}" Width="Auto" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Center" />
                <TextBox Name="txtMANDANT" MaxLength="2" Width="40" Margin="10,0,0,0"   HorizontalAlignment="Left" Background="Pink"  TabIndex="1" >00</TextBox>
                <Label Content="{Binding Source={Localization:TranslateExtension Word=语言}}" Width="Auto" Margin="0,0,0,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />
                <TextBox IsReadOnly="True" Name="txtSPRACHKZ" Width="40" Margin="0,0,0,0" Text="" MaxLength="1" HorizontalAlignment="Left" Background="Pink" FontSize="18" TabIndex="2" />
                <Label Content="{Binding Source={Localization:TranslateExtension Word=用户名}}" Width="Auto" Margin="10,0,0,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />
                <TextBox Name="txtUserID" Width="80" Margin="10,0,0,0" Text="" HorizontalAlignment="Left" Background="Yellow" FontSize="18" MaxLength="8" AcceptsTab="False" CharacterCasing="Upper" KeyboardNavigation.TabIndex="0" TabIndex="3" />
                <Label Content="{Binding Source={Localization:TranslateExtension Word=密码}}" Width="Auto" Margin="10,0,0,0" HorizontalAlignment="Left"  VerticalAlignment="Center" />
                <PasswordBox Name="txtPassword" Width="80" Margin="10,0,0,0" HorizontalAlignment="Left" Background="Yellow"  KeyboardNavigation.TabIndex="1" TabIndex="4" />
                <Button Content="{Binding Source={Localization:TranslateExtension Word=登录}}" Height="Auto" Margin="10,0,0,0" Name="btnLogIn" Width="Auto" Click="btnLogIn_Click" KeyboardNavigation.TabIndex="2" IsDefault="True" TabIndex="5"/>
                <TextBlock Name="Administration"></TextBlock>
                <CheckBox FontSize="14" Content="{Binding Source={Localization:TranslateExtension Word=属于评审组}}" Name="IsBelongs2V9"
                              Visibility="Hidden"></CheckBox>
                <TextBlock FontSize="14" MinWidth="200" Width="Auto" Name="MemberV9" Background="#FF00AF00"
                               Visibility="Hidden"></TextBlock>
                <TextBlock Name="txtLogIn" Width="Auto" Margin="10,0,0,0" HorizontalAlignment="Left" Background="White" FontSize="14" KeyboardNavigation.TabIndex="1" />
            </WrapPanel>
        </Expander>
        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">
            <WrapPanel>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button Grid.Column="0" Height="20"  Width="20" Margin="0,0,0,0"   IsEnabled="True" Click="btnLoadVKPList_Click">
                        <Button.Background>
                            <ImageBrush ImageSource="/IntexReportClient;component/Images/Reload.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=查询}}"></TextBlock>
                </Grid>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button Grid.Column="0" Height="20"  Width="20" Margin="0,0,0,0"   IsEnabled="True" Click="btnGotoDetail_Click">
                        <Button.Background>
                            <ImageBrush ImageSource="/IntexReportClient;component/Images/Convert.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=明细}}"></TextBlock>
                </Grid>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button Grid.Column="0" Height="20"  Width="20" Margin="10,0,0,0"   IsEnabled="True" Click="btnDZoomIn_Click">
                        <Button.Background>
                            <ImageBrush ImageSource="/IntexReportClient;component/Images/zoom_in.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=明细放大}}"></TextBlock>
                </Grid>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button Grid.Column="0" Height="20"  Width="20" Margin="10,0,0,0"   IsEnabled="True" Click="btnDZoomOut_Click">
                        <Button.Background>
                            <ImageBrush ImageSource="/IntexReportClient;component/Images/zoom_out.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=明细缩小}}"></TextBlock>
                </Grid>

            </WrapPanel>
        </StackPanel>
        <me:VKPLIST x:Name="vwVKPLIST" Grid.Row="1"  Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></me:VKPLIST>
        <me:VWVKP x:Name="vwVKP" Grid.Row="2"   Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></me:VWVKP>
    </Grid>  
</local:DocumentBase>
    
